import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import VueLuckyCanvas from '@lucky-canvas/vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
import './assets/lottery1/iconfont'

if (process.env.NODE_ENV === 'production') {
    axios.defaults.baseURL='http://lotteryapi.xyyhome.com/'
} else {
    axios.defaults.baseURL='http://192.168.31.98:53882'
}

createApp(App).use(router).use(VueAxios, axios).use(VueLuckyCanvas).mount('#app')
